<template>
  <el-container class="home-container">
    <el-aside width="200px" class="el-aside">
      <!-- 左边栏内容 -->
      <h1><img src="../assets/loginb.png" style="width:60px; height: 30px;vertical-align: middle"/>药品用法用量管理系统</h1>
<!--      <comond-aside />-->
    </el-aside>

    <el-container>
      <el-header class="el-header">
        <!-- 头部内容 -->
<!--        <BackHeader />-->
      </el-header>

      <el-container>
        <el-header class="headertwo">
          <el-card class="box-card">
            <div class="breadcrumb-container">
              <el-breadcrumb separator="/">
                <el-breadcrumb-item :to="{ path: '/index.html' }">首页</el-breadcrumb-item>
                <el-breadcrumb-item><a href="/1">活动管理</a></el-breadcrumb-item>
<!--                <el-breadcrumb-item>活动列表</el-breadcrumb-item>-->
<!--                <el-breadcrumb-item>活动详情</el-breadcrumb-item>-->
              </el-breadcrumb>
            </div>
          </el-card>
        </el-header>

        <el-main class="el-main">
<!--          <router-view />-->
        </el-main>
      </el-container>
    </el-container>
  </el-container>
</template>

<script>
// import ComondAside from '../components/ComondAside.vue'
// import BackHeader from '../components/BackHeader.vue'

export default {
  data () {
    return {}
  },
  components: {
    // ComondAside,
    // BackHeader
  }
}
</script>

<style scoped>
.home-container {
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.el-aside {
  background-color: #ffffff;
  color: #070707;
  width: 200px;
 /* flex-shrink: 0; !* 不缩小 *!*/
}

.el-aside h1 {
  margin: 20px;
}

.el-container {
  flex: 1;
  display: flex;
  flex-direction: row;
}

.el-header {
  background-color: #d49090;
  color: #fff;
  height: 80px;
  line-height: 40px;
  text-align: center;
}

.headertwo {
  background-color: #f3f0f0;
  padding-top: 9px;
}

.box-card {
  display: flex;
  padding-top: 10px;
}

.breadcrumb-container {
  flex: 1;
}

.el-main {
  flex: 1;
  flex-basis: auto;
  overflow: auto;
  box-sizing: border-box;
  padding: calc(20px - 10px); /* 使用 calc 函数计算边距值 */
  background-color: #F2EFEF;
}
/*@import "../assets/css/style.css";*/
</style>
